package com.yu.dv.entity;

import lombok.Data;

@Data
public class IndexInfo {
    private String indexName;
    private String columnName;
    private boolean nonUnique;
    private short type;
    private short ordinalPosition;

    public IndexInfo(String indexName, String columnName, boolean nonUnique,
                     short type, short ordinalPosition) {
        this.indexName = indexName;
        this.columnName = columnName;
        this.nonUnique = nonUnique;
        this.type = type;
        this.ordinalPosition = ordinalPosition;
    }
}
